package com.company;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

public class TestSqlite {

    public static void main(String[] args){
        String string = "*ks2";
        StringBuilder sb = new StringBuilder();
        char[] ch = string.toCharArray();
        for (int i = 0; i < ch.length; i++) {
            System.out.print(ch[i]+"  --- ");
            int i1 = Integer.valueOf(ch[i]).intValue();
            String s = Integer.toHexString(i1);
            System.out.println(s);
            sb.append(s).append(" ");
        }
        System.out.println(sb.toString());
    }

}
